package self.zhangkang.chart

import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel

/**
 * @author：zhangkang19164
 * created on：2025/3/20 15:22
 * description：
 */
class StockDetailsViewModel : ViewModel() {

    private val mShareStock = MutableLiveData<Stock?>()
    val shareStock: LiveData<Stock?> = mShareStock


    fun setShareStock(shareStock: Stock) {
        mShareStock.value = shareStock
    }
}